//================================================================================================================
// This file consists of patches for the general10.fx shader separateto those at the end
// These are turned on or off by the PatchOptions.fxh
// Please don't edit this file!
//
// version 2.0 This is tthe change for night textures.
//================================================================================================================

#include

#if defined(SHD_BASE) && defined(SHD_SPECULAR) && defined(SHD_APPLY_Y_BIAS) && defined(SHD_ALPHA_TEST)
#define BRIDGE_SHADER
#endif



#if defined(NIGHT_PATCH) && (NIGHT_STRICT == 0 || ( NIGHT_STRICT == 1 && defined(BRIDGE_SHADER)))
cColor = lerp( float4(fEmissiveScale * cEmissive.rgb,cEmissive.a), cColor, g_fBlendedEmissiveFactor);

#else
cColor = lerp( float4(fEmissiveScale * cEmissive.rgb,0), cColor, g_fBlendedEmissiveFactor);

#endif